home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-02.iso
/
Pakiet bezpieczenstwa
/
mini Pentoo LiveCD 2006.1
/
mpentoo-2006.1.iso
/
livecd.squashfs
/
usr
/
lib
/
python2.4
/
encodings
/
cp875.pyo
(
.txt
)
< prev
next >
Wrap
Python Compiled Bytecode
|
2005-10-18
|
5KB
|
276 lines
# Source Generated with Decompyle++
# File: in.pyo (Python 2.4)
""" Python Character Mapping Codec generated from 'CP875.TXT' with gencodec.py.
Written by Marc-Andre Lemburg (mal@lemburg.com).
(c) Copyright CNRI, All Rights Reserved. NO WARRANTY.
(c) Copyright 2000 Guido van Rossum.
"""
import codecs
class Codec(codecs.Codec):
def encode(self, input, errors = 'strict'):
return codecs.charmap_encode(input, errors, encoding_map)
def decode(self, input, errors = 'strict'):
return codecs.charmap_decode(input, errors, decoding_map)
class StreamWriter(Codec, codecs.StreamWriter):
pass
class StreamReader(Codec, codecs.StreamReader):
pass
def getregentry():
return (Codec().encode, Codec().decode, StreamReader, StreamWriter)
decoding_map = codecs.make_identity_dict(range(256))
decoding_map.update({
4: 156,
5: 9,
6: 134,
7: 127,
8: 151,
9: 141,
10: 142,
20: 157,
21: 133,
22: 8,
23: 135,
26: 146,
27: 143,
32: 128,
33: 129,
34: 130,
35: 131,
36: 132,
37: 10,
38: 23,
39: 27,
40: 136,
41: 137,
42: 138,
43: 139,
44: 140,
45: 5,
46: 6,
47: 7,
48: 144,
49: 145,
50: 22,
51: 147,
52: 148,
53: 149,
54: 150,
55: 4,
56: 152,
57: 153,
58: 154,
59: 155,
60: 20,
61: 21,
62: 158,
63: 26,
64: 32,
65: 913,
66: 914,
67: 915,
68: 916,
69: 917,
70: 918,
71: 919,
72: 920,
73: 921,
74: 91,
75: 46,
76: 60,
77: 40,
78: 43,
79: 33,
80: 38,
81: 922,
82: 923,
83: 924,
84: 925,
85: 926,
86: 927,
87: 928,
88: 929,
89: 931,
90: 93,
91: 36,
92: 42,
93: 41,
94: 59,
95: 94,
96: 45,
97: 47,
98: 932,
99: 933,
100: 934,
101: 935,
102: 936,
103: 937,
104: 938,
105: 939,
106: 124,
107: 44,
108: 37,
109: 95,
110: 62,
111: 63,
112: 168,
113: 902,
114: 904,
115: 905,
116: 160,
117: 906,
118: 908,
119: 910,
120: 911,
121: 96,
122: 58,
123: 35,
124: 64,
125: 39,
126: 61,
127: 34,
128: 901,
129: 97,
130: 98,
131: 99,
132: 100,
133: 101,
134: 102,
135: 103,
136: 104,
137: 105,
138: 945,
139: 946,
140: 947,
141: 948,
142: 949,
143: 950,
144: 176,
145: 106,
146: 107,
147: 108,
148: 109,
149: 110,
150: 111,
151: 112,
152: 113,
153: 114,
154: 951,
155: 952,
156: 953,
157: 954,
158: 955,
159: 956,
160: 180,
161: 126,
162: 115,
163: 116,
164: 117,
165: 118,
166: 119,
167: 120,
168: 121,
169: 122,
170: 957,
171: 958,
172: 959,
173: 960,
174: 961,
175: 963,
176: 163,
177: 940,
178: 941,
179: 942,
180: 970,
181: 943,
182: 972,
183: 973,
184: 971,
185: 974,
186: 962,
187: 964,
188: 965,
189: 966,
190: 967,
191: 968,
192: 123,
193: 65,
194: 66,
195: 67,
196: 68,
197: 69,
198: 70,
199: 71,
200: 72,
201: 73,
202: 173,
203: 969,
204: 912,
205: 944,
206: 8216,
207: 8213,
208: 125,
209: 74,
210: 75,
211: 76,
212: 77,
213: 78,
214: 79,
215: 80,
216: 81,
217: 82,
218: 177,
219: 189,
220: 26,
221: 903,
222: 8217,
223: 166,
224: 92,
225: 26,
226: 83,
227: 84,
228: 85,
229: 86,
230: 87,
231: 88,
232: 89,
233: 90,
234: 178,
235: 167,
236: 26,
237: 26,
238: 171,
239: 172,
240: 48,
241: 49,
242: 50,
243: 51,
244: 52,
245: 53,
246: 54,
247: 55,
248: 56,
249: 57,
250: 179,
251: 169,
252: 26,
253: 26,
254: 187,
255: 159 })
encoding_map = codecs.make_encoding_map(decoding_map)